<!--
 * @Description: 
 * @Version: 1.0
 * @Author: tao
 * @Date: 2021-02-23 22:39:47
 * @LastEditors: tao
 * @LastEditTime: 2021-02-24 14:27:50
-->
<template>
  <a-tabs default-active-key="1" @change="changes" :active-key="active">
    <a-tab-pane key="1">
      <span slot="tab">
        <a-icon type="apple" />
        招聘及宣讲会管理
      </span>
      <fair @upTo="upToTab" />
    </a-tab-pane>
    <a-tab-pane key="2">
      <span slot="tab">
        <a-icon type="dropbox" />
        学生报名管理
      </span>
      <Signup :list="list" :id="id" />
    </a-tab-pane>
  </a-tabs>
</template>

<script>
import fair from "@/views/base/b-job/fair/fair";
import Signup from "@/views/base/b-job/signup/Signup";
import signupDialog from "@/views/base/b-job/fair/component/signupDialog";
export default {
  components: { fair, Signup, signupDialog },
  data() {
    return {
      active: "1",
      list: false,
      id: 0,
      show: false,
      // row: {},
    };
  },
  methods: {
    changes(e) {
      console.log(e);
      this.active = e;
    },
    upToTab(e) {
      console.log(e);
      // this.id = e.id;
      // this.list = true;
      // this.active = "2"
    },
  },
};
</script>
<style lang="less" scoped>
</style>